package com.biostime.dingdingbox.modules.sys.entity;

import com.biostime.dingdingbox.common.persistence.TreeEntity;

/**
 * 区域Entity
 * @author phil
 * @version 2015-11-06
 */
public class Area extends TreeEntity<Area> {

	private static final long serialVersionUID = 1L;
	
	//private String parentIds;// 所有父级编号
	private String code;// 区域编码
	//private String name;// 名称
	//private Integer sort;// 排序
	
	public Area(){
		super();
	}

	public Area(String id){
		super(id);
	}
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	public Area getParent() {
		return parent;
	}

	public void setParent(Area parent) {
		this.parent = parent;
	}
}